package com.rockcent.mall.lib.dto;

import com.rockcent.common.domain.DtoEntity;

/**
 * Created by zhangjh on 2016/11/13.
 */
public class CustomerShoppingAddressDto extends DtoEntity {
    //收货地址
    private String address;
    //收货人
    private String shoppingMan;
    //收货人电话号码
    private String shoppingManPhone;
    //是否默认收货地址
    private Boolean isDefault = false;
    //邮政编码
    private String postcode;
    //地区id
    private Long locationId;
    //地区全称
    private String locationName;
    //客户id
    private Long customerId;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getShoppingMan() {
        return shoppingMan;
    }

    public void setShoppingMan(String shoppingMan) {
        this.shoppingMan = shoppingMan;
    }

    public String getShoppingManPhone() {
        return shoppingManPhone;
    }

    public void setShoppingManPhone(String shoppingManPhone) {
        this.shoppingManPhone = shoppingManPhone;
    }

    public Boolean getDefault() {
        return isDefault;
    }

    public void setDefault(Boolean aDefault) {
        isDefault = aDefault;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public Long getLocationId() {
        return locationId;
    }

    public void setLocationId(Long locationId) {
        this.locationId = locationId;
    }

    public String getLocationName() {
        return locationName;
    }

    public void setLocationName(String locationName) {
        this.locationName = locationName;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    @Override
    public String toString() {
        return "CustomerShoppingAddressDto{" +
                "address='" + address + '\'' +
                ", shoppingMan='" + shoppingMan + '\'' +
                ", shoppingManPhone='" + shoppingManPhone + '\'' +
                ", isDefault=" + isDefault +
                ", postcode='" + postcode + '\'' +
                ", locationId=" + locationId +
                ", locationName='" + locationName + '\'' +
                ", customerId=" + customerId +
                '}';
    }
}
